home *** CD-ROM | disk | FTP | other *** search
/ PC User 2002 April / Disc 2 / PCUSER0402D2.iso / software / utils / files / wincron.exe / data1.cab / Sample_Scripts / cscript_basic_test.tg < prev    next >
Encoding:
Text File  |  2001-10-20  |  675 b   |  14 lines

  1. ## cscript_basic_test
  2. # This script will change based on whatever feature is currently being tested.
  3.  
  4. {
  5.     -name cscript_basic_test
  6.     -start
  7. #    -stop
  8.     -action -cscript run handle "%TG.SAMPLE_CSCRIPT_DIR%hello_world.c"
  9.     -action -cscript run handle "%TG.SAMPLE_CSCRIPT_DIR%show_args.c" arg1 arg2 arg3
  10.     -action -cscript run handle "%TG.SAMPLE_CSCRIPT_DIR%env_test.c"
  11.     -action -cscript parse "extern int printf(char *fmt, ...);char buff[128];buff[0]='H';buff[2]='e';buff[3]='l';buff[4]='l';buff[5]='o';buff[6]=' ';buff[7]='W';buff[8]='o';buff[9]='r';buff[10]='l';buff[11]='d';buff[12]=10;buff[13]=0;printf(buff);"
  12. #    -action -cscript wait handle 0
  13.     -action -inc 0 0 0 1
  14. }